<el-dialog title="编辑资料" id="edit" v-model="editFormDialog" >
<!-- <el-form :model="form"> -->
<el-form ref="editForm" :rules="editRules" :model="editForm" :label-width="dialogLabelWidth">
    

    <el-tabs  type="card" >
      <el-tab-pane label="基本信息" name="first">
        <el-row>
          <el-col :span="12">
            <el-form-item label="物品名字" prop="name">
              <el-input v-model="editForm.name"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="所属分类" prop="pid">
              <el-select v-model="editForm.pid">
                <el-option v-for="kinds in kindsType" :label="kinds.name" :value="kinds.id"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
         <el-row>
          <el-col :span="12">
            <el-form-item label="单位" prop="unit">
              <el-input v-model="editForm.unit"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="规格" prop="specification">
              <el-input v-model="editForm.specification"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
           <el-col :span="12">
            <el-form-item label="属性" prop="property">
              <el-select v-model="editForm.property">
                <el-option v-for="pro in propertyType" :label="pro.name" :value="pro.id"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
      </el-tab-pane>
    </el-tabs>


  
    
  </el-form>
  <div slot="footer" class="dialog-footer">
   <include file="Common:_edit" />
  </div>
</el-dialog>